package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 回复意见 
 * </p>
 *
 * @author jiayen
 * @since 2021-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("d_certificate_reply")
@ApiModel(value="CertificateReply对象", description="回复意见 ")
public class CertificateReply implements Serializable {


    /***
     * 回复人类型 0:发起人回复（系统用户）,1-执行人回复(执行人信息)
     */

    public final static  Integer   TYPE_ADMIN = 0;
    public final static  Integer TYPE_HAND = 1;

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "intId", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "执行id")
    @TableField("intHandId")
    private Integer handId;

    @ApiModelProperty(value = "创建时间")
    @TableField("dtCreateTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "回复内容")
    @TableField("vcContent")
    private String content;

    @ApiModelProperty(value = "发表人id")
    @TableField("intPersonId")
    private Integer personId;

    @ApiModelProperty(value = "回复人类型 0:发起人回复（系统用户）,1-执行人回复(执行人信息)")
    @TableField("intType")
    private Integer type;

    @ApiModelProperty(value = "关联的存证单id")
    @TableField("intCerFileId")
    private Integer cerFileId;


}
